<?php

declare(strict_types=1);

/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */


use Rebuild\HttpServer\Server;

return [
    'mode' => 2,
    'servers' => [
        [
            'name' => 'http',
            'type' => 1,
            'host' => '0.0.0.0',
            'port' => 9551,
            'sock_type' => 1,
            'callbacks' => [
                'request' => [Server::class, 'onRequest'],
            ],
        ],
    ],
    'callbacks' => [
        'workerStart' => [Hyperf\Framework\Bootstrap\WorkerStartCallback::class, 'onWorkerStart'],

    ],
];
